﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/DefaultWithLeft.Master"
	AutoEventWireup="true" CodeBehind="ProductList.aspx.cs" Inherits="ITViet.Web.Pages.ProductList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphContentMain" runat="server">
	<div class="productTree">
		<asp:Literal ID="ltrProductTree" runat="server"></asp:Literal>
	</div>
	<ul class="product-list">
		<asp:Repeater ID="rptProduct" runat="server" OnItemDataBound="rptProduct_ItemDataBound">
			<ItemTemplate>
				<li>
					<center>
						<img src="../<%#Eval("Image") %>" alt="" height="100" />
						<div class="title">
							<%#Eval("Name") %>
						</div>
						<div>
							<%=GetGlobalResourceObject("Strings", "Price") %>: <span class="price">
								<asp:Label ID="lbRefPrice" runat="server">
								</asp:Label>
								<%=GetGlobalResourceObject("Strings", "CurrencyUnit") %>
							</span>
						</div>
						<a href="ProductDetail.aspx?tid=<%#Eval("CategoryId") %>&id=<%#Eval("Id") %>" class="btn-detail">
							<%=GetGlobalResourceObject("Strings", "Detail") %>
						</a>
					</center>
				</li>
			</ItemTemplate>
		</asp:Repeater>
	</ul>
</asp:Content>
